------------
-- Legend --
------------
* = todo
** = working on it
- = test

----------
-- Todo --
----------
Upd: dnetc_2_html to latest core (if necesary)

* Core: Shutdown displayed when a client is working
* Core: Multiply running dnet clients
* Core: Read the buffer files directly (prolly never going to happen)
* Core v3: rewrite as a class (Client v2.1.x.x)
* Project switch (Auto/RC5/OGR) ** OGR is finished
* Resize when dpi goes up
* Updater
* Upgrade from .NET framework 4.8 to .NET 8
* Weird resize bug

-------------------
-- Working on it --
-------------------
** Fix: "All pc's" not always showing data, when pc's are offline
** Add: Dnetc config window (Basic CFG Panel)

----------------------------------------
------------- Test phase ---------------
Functions only available in beta version
----------------------------------------
-none-

---------------------
TODO later in 2.0.1.x
---------------------
* Do more with all the Service data

---------------------
-- Version History --
---------------------
V. 2.0.1.10 BETA (24/11/2024)
----------------------------
Upd: dnetc_2_html to v2.0.0.12

Main:
 Add: Su's a day calculation on the Last avarage rate and Summary rate
 Upd: window resizes now to the right proportions

Network:
 Fix: when removing a client, wrong max value was updated

V. 2.0.1.9 BETA (21/11/2024)
----------------------------
Main:
 Add: Real time log viewer
 Chg: cleaned up some code that isn't used anymore
 Fix: Settings and Settings > Settings opened the settings window, now only the sub menu settings will open them

Network:
 Fix: removing pc's button not working

V. 2.0.1.8 BETA (12/11/2024)
----------------------------
Upd: Service update to v24.11.12.0. <><> This version isn't compatible with the previous service,instead of the home made TCp functions I went to the HttpClient()

Main:
 Fix: menu "Buffer file list" under "Get Files"
 Fix: menu "DNETc log file" under "Get Files"

V. 2.0.1.7 BETA (09/11/2024)
----------------------------
Upd: Service update to v24.11.05.0

Main:
 Add: menu "Get Files" under the service menu
 Add: menu "Buffer file list" under "Get Files" *disabled for now
 Add: menu "DNETc log file" under "Get Files" *disabled for now
 Chg: In MF mode when enabled the "Rename outbuffer ...", the max Done is now set to that value of the "Rename outbuffer ..."
 Fix: error on MF part in logbook
 Fix: "All pc's" crash Description: The process was terminated due to an unhandled exception.

V. 2.0.1.6 BETA (02/10/2024)
----------------------------
Upd: Service update to v24.09.26.0

Main:
 Fix: "All pc's" done bar graph
 Chg: Taskbar value is now updated when the progressbars are updated

Settings:
 Chg: alt tekst on "Pause on low buffer"
 Chg: alt tekst on "Rename outbuffer"

V. 2.0.1.5 BETA (29/03/2024)
----------------------------
Upd: Service update to v24.03.28.0

Add: Network > All pc's
Add: Taskbar status (green/yellow/red)

Debug:
 Add: if no debug lines are found then "Wait till next update" is showed

V. 2.0.1.3 BETA (14/03/2024)
----------------------------
Upd: Service update to v24.03.14.1

Settings:
 Chg: added some more warnings when syncing up + sync is now sync+save
 Fix: Client settings: rename checkbox and slider where still enabled when MF was disabled on loading
 Fix: Client settings: Pause option would not save on client (combined bug in the service and this program)

V. 2.0.1.2 BETA (25/06/2023)
----------------------------
Forgot to disable the All pc's menu item

V. 2.0.1.1 BETA (25/06/2023)
----------------------------
Upd: Service update to v23.06.19.0, some improvements on detection the client
Fix: When a Cruncher is offline, whole Controller goes to no data or zero's.

Settings:
 Add: Megaflush auto rename output buffer when reached a amount

V. 2.0.1.0 BETA (08/06/2023)
----------------------------
"Server" client setup for remote client's, DnetC_Ser_Ctrl will only show the data from the clients thru the service program.
   - Dynamicly DNET client names on network
   - Popular commands for starting/stopping/(un)installing the DNET client are in the service

Main menu is changed so it's clearer what is controlled thru the client and what not

Settings has a re-design
Network has a re-design

New icons
--------------------------------------------------------------------
V. 2.0.0.47 (01/06/2023)
------------------------
Small core fix

V. 2.0.0.46 (31/05/2023)
------------------------
Small core fix

V. 2.0.0.45 (27/05/2023)
------------------------
Small fix

V. 2.0.0.44 (12/05/2023)
------------------------
Small stable fixes

V. 2.0.0.43 (06/05/2023)
------------------------
Small stable fixes

V. 2.0.0.42 (02/05/2023)
------------------------
Small stable fixes

V. 2.0.0.41 (01/05/2023)
------------------------
A Stable release :)

V. 2.0.0.40 BETA (30/04/2023)
-----------------------------
Core 2.75
 Fix: when switching log files to a new day, the client will be put into pause if "Low buffer check" & log rotate is enabled > line to start =0 and a check on that = don't parse the rest

V. 2.0.0.39 BETA (25/04/2023)
-----------------------------
Main fix: didn't test the ping thing :facepalm:

V. 2.0.0.38 BETA (25/04/2023)
-----------------------------
Core v2.74
 Chg: small fixes to other functions and subs to make it "quicker" (early exit for/sub) or better
 Fix: In- & outbuffers sometimes went to 0 when they where still "full">> was reading the log file while the Dnet client was stil writing, not enough last lines to read
 Upd: Get_currentwuInfo() so it now gives the full wu, yeah a lot of 0's but that's a adress space (I think)

Main:
 Add: extra icons for Stopped/Paused client
 Add: before trying to fetch, see if there is internet connection + do a ping
 Chg: Low buffer pause mode is out of the megaflush mode check
 Fix: "OnPaint()" error... Statusstrip3 will go bad (switched some things around in the core to fix it)
 Fix: need to reset the window

Network:
 Chg: extra checks before doing anything = less error prone

V. 2.0.0.37 BETA (15/04/2023)
-----------------------------
Upd: dnetc_2_html to latest core

Core v2.73
 Chg: first read log before setting anything to zero.
 Chg: CleanUp log added "Connect to host" & "EDISCONNECT" to be removed
 Fix: NOTHING value
 Fix: Stage1 IndexOutOfRangeException
 
Changed the whole my.setting to local ini

Main:
 Chg: the project selector is now a dropdown box instead of a right click hidden menu
 Chg: in MegaFlush mode if buffers are running very low, the controller wil pause the client. If buffer is filled again then the client will be unpaused (can be disabled in Settings)

Import:
 Fix: directory combine with path.combine()

V. 2.0.0.28 (25/12/2022)
------------------------
A Stable release :)

V. 2.0.0.27 BETA (23/12/2022)
-----------------------------
Core v2.68
 Chg: the way I handle the dnetc log file, faster parsing and can handle larger file easely
 Chg: extra checks and error handling on the log file
 Fix: Null reference when opening the Debug window

Main:
 Fix: instead of showing the notification when visible but not on foreground, bring the program to the foreground
 Fix: mode is now saved (Auto/RC5/OGR)

V. 2.0.0.26 BETA (23/12/2022)
-----------------------------
 Removed the History window, history file opens in your default txt reader
 Project optimizations

Fix: Dual log file creation

Core v2.64
 Add: summary info
 Chg: initialisation of the dnetReg()
 Chg: Time remaining (Sparse(4)), RC5-72 client calculates it wrong
 Chg: total todo wu's is day highest
 Chg: first check the last changed time of the log file before doing anything = less memory usage and less read/write cyles

Main:
 Chg: some code changes
 Chg: last rate will now by shortened is keys >1Gkey/s
 Chg: clicking on some of the status labels the value will be copied to the clipboard
 Fix: NetPcAll>> updated the time to complete from 1 SU to all SU todo

Import: updated to modern standards

Log viewer: Fix: on load size the window correctly

V. 2.0.0.24 BETA (19/12/2022)
-----------------------------
Core v2.61
 Fix: Time remaining (Sparse(4)), DNET client doesn't always show it, so we calculate it

Main:
 Chg: todo bar has now a day max limit ;)
 Fix: balloontip counter takes wrong WU counter
 Fix: balloontip heading & text

Settings:
 Chg: max values of Balloontip & Autofetch

V. 2.0.0.23 BETA (16/12/2022)
-----------------------------
Main:
 Fix: Get_dnetc() filter on personal proxy

Core v2.60
 Chg: updated DnetLogParser() to parse the log better in stage 1 & 2
 Chg: Cleanup_Log_File() removes more lines: added "size_t", "perproxy", "Import"

V. 2.0.0.21 BETA (14/12/2022)
-----------------------------
Core v2.59
 Chg: cleanup up Get_core() code

Data is now parsed on the background

Better logging

Main:
 Fix: LabelTTT  'Value' should be between 'minimum' and 'maximum'.
 Fix: log rotation filename: opens the last changed file
 Fix: Get_Dnetc() "Unable to enumerate the process modules." in log file

Settings:
 Chg: minimum refresh rate set to 30s isntead of 60s

V. 2.0.0.20 BETA (13/12/2022)
-----------------------------
.NET framework 4.8

Core v2.58:
 Chg: cleanup of the code

Settings:
 Fix: auto fetch level didn't load, was always on 3. Saved to file thou

Main:
 Add: log rotation check

Megaflush info:
 Fix: wrong approx stats units

V. 2.0.0.18 BETA (24/10/2015)
-----------------------------
Core v2.57:
 Fix: wait until log file gets unlocked

Main:
 Add: Save project selection
 reFix: Core display in tooltip text
 Fix: Network version textbox showing up when not to
 Chg: when in autoflush mode set done progresbar max value to autoflush value

Settings:
 reFix: Auto start after windows login

V. 2.0.0.17 BETA (20/09/2015)
-----------------------------
Fix: History file link

Core v2.56:
 Add: Project select "Auto" = last packet done
 Chg: Read the 10 needed lines
 Fix: Reset fetched and flushed packets on the next day instead of the next fetch or flushed day
 Fix: % done
 reFix: Index out off bounds (Stage Three)
 Upd: Cleaned the code some what

Main:
 Add: "Reset window" in systray menu
 Add: "Auto" to project menu = read last done WU OGR/RC5
 Chg: Tooltip text summary done shows running time
 Fix: Save/load coordinates with overload (screen size changed) (old code polished up)
 Fix: Large buffer-in makes the progressbar empty (int16 to int64)
 Fix: Readme menu file link
 Fix: Balloon tool tip with done WU's now truncates the done WU's when the list is to long
 Fix: Core display in tooltip text

Settings:
 Chg: Megaflush date picker enabled in megaflush mode
 Fix: Show button now opens dnetc_stats_rc5.html
 reFix: Auto start after windows login

V. 2.0.0.16 (27/08/2015)
------------------------
*bug fix*

V. 2.0.0.15 (26/08/2015)
------------------------
*bug fix*

V. 2.0.0.14 (23/08/2015)
------------------------
*bug fix*

v. 2.0.0.13 (22/08/2015)
------------------------
A Stable release :)

v. 2.0.0.12 BETA (21/08/2015)
-----------------------------
updated About window
Chg: Logs in the logs folder

Core v2.52:
 Add: OGR support
 Fix: Client core read out (hard coded core names, function Get_core)
 Fix: Error log was always empty
 Fix: Index out off bounds (Stage two)
 Fix: Multi cpu core support
 Fix: Total flushed wu's/su's (the difference between a . and a ,)

Main:
 Add: OGR support (right click main window)
 Add: On click of "Last Avarage Rate" / "Summary rate" or the Done progress bar will copy the key rate or su's to the clipboard
 Add: Stats units done last wu in tooltip text: "Time of last WU"
 Chg: Added the stats units in the balloontip
 Chg: Deleted some lines of unneeded code (old error handling)
 Chg: Numbers are now with thousend seperators aka a dot (ex.: 1.000)
 Chg: Small rewrite of LabelTTT()
 Chg: Instead of disabling the whole program when refreshing, disable only the menu's
 Fix: Balloon tip SU done >1 not showing al the done WU's and total SU's
 Fix: Check if allready running fails
 Fix: Mega flush on date, start flushing when dnetc reach the date
 Fix: Object reference not set (menu This pc or Installs)

Settings:
 Add: Fetch level
 Add: ToolTipText
 Del: Auto fetch feature (integrated in mega flush or Auto flush)
 Fix: Megaflush date setting doesn't come back

v. 2.0.0.10 BETA (09/08/2015)
-----------------------------
Added DNETC_2_html.exe

Main:
 Add: Systray menu (right click on icon)
 Add: Benchmark menu
 Add: Network > All pc's (needs to be fixed)
 Chg: menu items "Realtime Log viewer" and "Debug" moved under Settings menu
 Chg: switched fetched and flushed from place, so its more conveniant
 Fix: Start minimized
 Fix: Networking support

Core v2.51:
 Add: Simple error log book
 Add: Start of multi core support
 Chg: Less writing to the log file
 Fix: Dnetc restart/shutdown troubles
 Fix: Small bugs and various tweaks
 Fix: Fetch/flush stats now with date memory and project filtered

Settings:
 Fix: AutoFlush checks and disables AutoFetch
 Fix: Auto start after windows login

v. 2.0.0.8 BETA (02/08/2015)
----------------------------
Removed RC5-72_2_html.exe will be replaced by DNETC_2_html.exe

Chg: Small changes on Basic CFG panel
Fix: first variable on debug screen wasn't named
Fix: import buffers

Main:
 Add: dnetc stress test
 Add: dnetc cpu/gpu info
 Add: working service menu
 Add: network menu: you can create network links but they don't work completely
 Chg: cleaned up trayicon text
 Chg: Dynamic buffers
 Chg: status strip deleted current core, current PU, chrunchers running
 Fix: settings
 Fix: update timer was running faulty
 Fix: trayballoon WU done not showing up
 Fix: possible converts can go wrong
 Fix: Megaflush window reporting right data
 Fix: Left click on systray icon immediately opens main window
 Fix: Autoflush when not wanted
 Fix: Refresh shortcut key
 Fix: unnecessary fetches

Settings:
 Add: Clean up log checkbox
 Chg: Flush output buffer upper range changed to 1.000.000
 Fix: save mega flush date
 Fix: tab index
 Fix: Extra modules enabled
 
Core v2.5:
 - Core optimalisation (faster)
 - Major overhaul of the core .NET style
 
History:
 Fix: history being completely selected

v. 2.0.0.7 BETA (26/07/2015)
----------------------------
* First rebuild in .NET framework v4.5
* Renamed to DnetC Ser Ctrl
Main:
 Fix: When megaflush is enabled check if auto fetch/flush is enabled
 Chg: minimum update time is 60 seconds
 Chg: reorganised the statusstrips

Core v2.20:
 Fixed:
 - loaded pack nummer
 - removed soms bugs
 - Dynamicly dnetc names
 - autofetch was to agressive
 - fetch/flush/pause/resume/... bug
 New:
 - stats units (SU's) and wu's
 - dual register setting xp/vista/... 
 other small core optimalisation
